home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3c / getwd.z / getwd
Encoding:
Text File  |  2002-10-03  |  1.4 KB  |  67 lines

  1.  
  2.  
  3.  
  4. GGGGEEEETTTTWWWWDDDD((((3333CCCC))))                                                            GGGGEEEETTTTWWWWDDDD((((3333CCCC))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      getwd - get current working directory pathname
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<uuuunnnniiiissssttttdddd....hhhh>>>>
  13.  
  14.      cccchhhhaaaarrrr ****ggggeeeettttwwwwdddd((((cccchhhhaaaarrrr ****ppppaaaatttthhhhnnnnaaaammmmeeee))));;;;
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      _g_e_t_w_d copies the absolute pathname of the current working directory to
  18.      _p_a_t_h_n_a_m_e and returns a pointer to the result.
  19.  
  20. LLLLIIIIMMMMIIIITTTTAAAATTTTIIIIOOOONNNNSSSS
  21.      Maximum pathname length is PATH_MAX characters as defined in <_l_i_m_i_t_s._h>.
  22.      PATH_MAX is equivalent to MAXPATHLEN as defined in <_s_y_s/_p_a_r_a_m._h>.
  23.  
  24. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  25.      _g_e_t_w_d returns zero and places a message in _p_a_t_h_n_a_m_e if an error occurs.
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.